package com.xbongbong.saas.domain.dao;

import com.xbongbong.saas.domain.entity.BatchSeqOperationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
 * @author jiyonghui
 * @className BatchSeqDao
 * @description
 * @date 2020/5/19   10:53
 */
@Repository
@Mapper
public interface BatchSeqOperationDao {
    /**
     * 插入数据
     * @param entity
     * @return
     */
    Integer insert(BatchSeqOperationEntity entity);


    List<BatchSeqOperationEntity> findEntitys(@Param("param") Map<String, Object> param);

    /**
     * 查询多个产品最大id的数据
     * @param param
     * @return
     */
    List<BatchSeqOperationEntity> findMaxIdEntitys(@Param("param") Map<String, Object> param);


}
